
#include "Subscribers.h"

using namespace ttg::services;

//----------------------
//--- SubscriberInfo ---
//----------------------

SubscriberInfo::SubscriberInfo(Subscriber *ss, void (*d)(Subscriber *ss, Event *ev))
{
	this->ss = ss;
	this->d = d;
}

void SubscriberInfo::sendEvent(Event *ev)
{
	d(ss, ev);
}
